Update BusObject SOAP Request |
|
The Update BusObject SOAP request is used to update existing data in the database. The SOAP request is an XML structure, whereas the actual implementation of the request is through a Java method.
When the request is sent to WS-AppServer, it triggers a series of events. This is illustrated in the following figure.
Updating BusObjects without Loading them from Database
As an alternative approach, you can update BusObjects without sending a request to the database. You can retrieve a BusObject using its primary key, and use the SetAsPersistent method to change the state of the object to LC (Loaded + Changed). To update the BusObject in the database, you can change the values of the required attributes, and update the object in the database by using the update method.
For further information on this SOAP API, refer to the WS-AppServer SDK.
Note: WS-AppServer facilitates using some of the XQY extensions while executing these requests. For more information, see Leveraging XQY Extensions in WS-AppServer.